package exercise1;

public class Test {
    public static void main(String[] args) {

        //创建线程对象
        MyThread t1 = new MyThread();
        MyThread t2 = new MyThread();
        MyThread t3 = new MyThread();
        MyThread t4 = new MyThread();
        MyThread t5 = new MyThread();

        t1.setName("aaa");
        t2.setName("bbb");
        t3.setName("ccc");
        t4.setName("ddd");
        t5.setName("eee");

        t1.start();
        t2.start();
        t3.start();
        t4.start();
        t5.start();
    }
}
